	<?php
	$studentID = $_GET['studentID'];
	
	$con = mysql_connect("localhost","root","");
	if (!$con) {
		die('Could not connect: ' . mysql_error());
	}
	mysql_select_db("ciu196", $con);
	
	$sql = "
	DELETE FROM HelpQueue 
	WHERE studentID =  '$studentID';"
	
	$res = mysql_query($sql,$con);	
	if(!$res) {
		die('Error: could not delete student' . mysql_error());
	} else {
		echo "Successfully deleted student from help queue";
	}
	
	mysql_close();
?>